package com.ruoyi.pims.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商绩效对象 ry_vendor_performance
 * 
 * @author ruoyi
 * @date 2025-06-18
 */
public class RyVendorPerformance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 绩效ID */
    private Long performanceId;

    /** 关联分析ID */
    @Excel(name = "关联分析ID")
    private Long analysisId;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long vendorId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String vendorName;

    /** 交货评分 */
    @Excel(name = "交货评分")
    private BigDecimal deliveryScore;

    /** 成本效益 */
    @Excel(name = "成本效益")
    private BigDecimal costEfficiency;

    /** 质量合格率 */
    @Excel(name = "质量合格率")
    private BigDecimal qualityRate;

    public void setPerformanceId(Long performanceId) 
    {
        this.performanceId = performanceId;
    }

    public Long getPerformanceId() 
    {
        return performanceId;
    }

    public void setAnalysisId(Long analysisId) 
    {
        this.analysisId = analysisId;
    }

    public Long getAnalysisId() 
    {
        return analysisId;
    }

    public void setVendorId(Long vendorId) 
    {
        this.vendorId = vendorId;
    }

    public Long getVendorId() 
    {
        return vendorId;
    }

    public void setVendorName(String vendorName) 
    {
        this.vendorName = vendorName;
    }

    public String getVendorName() 
    {
        return vendorName;
    }

    public void setDeliveryScore(BigDecimal deliveryScore) 
    {
        this.deliveryScore = deliveryScore;
    }

    public BigDecimal getDeliveryScore() 
    {
        return deliveryScore;
    }

    public void setCostEfficiency(BigDecimal costEfficiency) 
    {
        this.costEfficiency = costEfficiency;
    }

    public BigDecimal getCostEfficiency() 
    {
        return costEfficiency;
    }

    public void setQualityRate(BigDecimal qualityRate) 
    {
        this.qualityRate = qualityRate;
    }

    public BigDecimal getQualityRate() 
    {
        return qualityRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("performanceId", getPerformanceId())
            .append("analysisId", getAnalysisId())
            .append("vendorId", getVendorId())
            .append("vendorName", getVendorName())
            .append("deliveryScore", getDeliveryScore())
            .append("costEfficiency", getCostEfficiency())
            .append("qualityRate", getQualityRate())
            .toString();
    }
}
